export enum BTN_FUNCTION {
    DISABLED = 0,
    SHIFT = 1,
    ARM_TOGGLE = 2,
    ARM = 3,
    DISARM = 4,
    MODE_MANUAL = 5,
    MODE_STABILIZE = 6,
    MODE_DEPTH_HOLD = 7,
    MODE_POSHOLD = 8,
    MODE_AUTO = 9,
    MODE_CIRCLE = 10,
    MODE_GUIDED = 11,
    MODE_ACRO = 12,
    MOUNT_CENTER = 21,
    MOUNT_TILT_UP = 22,
    MOUNT_TILT_DOWN = 23,
    CAMERA_TRIGGER = 24,
    CAMERA_SOURCE_TOGGLE = 25,
    MOUNT_PAN_RIGHT = 26,
    MOUNT_PAN_LEFT = 27,
    LIGHTS1_CYCLE = 31,
    LIGHTS1_BRIGHTER = 32,
    LIGHTS1_DIMMER = 33,
    LIGHTS2_CYCLE = 34,
    LIGHTS2_BRIGHTER = 35,
    LIGHTS2_DIMMER = 36,
    GAIN_TOGGLE = 41,
    GAIN_INC = 42,
    GAIN_DEC = 43,
    TRIM_ROLL_INC = 44,
    TRIM_ROLL_DEC = 45,
    TRIM_PITCH_INC = 46,
    TRIM_PITCH_DEC = 47,
    INPUT_HOLD_SET = 48,
    ROLL_PITCH_TOGGLE = 49,
    RELAY_1_ON = 51,
    RELAY_1_OFF = 52,
    RELAY_1_TOGGLE = 53,
    RELAY_2_ON = 54,
    RELAY_2_OFF = 55,
    RELAY_2_TOGGLE = 56,
    RELAY_3_ON = 57,
    RELAY_3_OFF = 58,
    RELAY_3_TOGGLE = 59,
    SERVO_1_INC = 61,
    SERVO_1_DEC = 62,
    SERVO_1_MIN = 63,
    SERVO_1_MAX = 64,
    SERVO_1_CENTER = 65,
    SERVO_2_INC = 66,
    SERVO_2_DEC = 67,
    SERVO_2_MIN = 68,
    SERVO_2_MAX = 69,
    SERVO_2_CENTER = 70,
    SERVO_3_INC = 71,
    SERVO_3_DEC = 72,
    SERVO_3_MIN = 73,
    SERVO_3_MAX = 74,
    SERVO_3_CENTER = 75,
    SERVO_1_MIN_MOMENTARY = 76,
    SERVO_1_MAX_MOMENTARY = 77,
    SERVO_1_MIN_TOGGLE = 78,
    SERVO_1_MAX_TOGGLE = 79,
    SERVO_2_MIN_MOMENTARY = 80,
    SERVO_2_MAX_MOMENTARY = 81,
    SERVO_2_MIN_TOGGLE = 82,
    SERVO_2_MAX_TOGGLE = 83,
    SERVO_3_MIN_MOMENTARY = 84,
    SERVO_3_MAX_MOMENTARY = 85,
    SERVO_3_MIN_TOGGLE = 86,
    SERVO_3_MAX_TOGGLE = 87,
    CUSTOM_1 = 91,
    CUSTOM_2 = 92,
    CUSTOM_3 = 93,
    CUSTOM_4 = 94,
    CUSTOM_5 = 95,
    CUSTOM_6 = 96,
    RELAY_4_ON = 101,
    RELAY_4_OFF = 102,
    RELAY_4_TOGGLE = 103,
    RELAY_1_MOMENTARY = 104,
    RELAY_2_MOMENTARY = 105,
    RELAY_3_MOMENTARY = 106,
    RELAY_4_MOMENTARY = 107,
}

export enum FRAME_CONFIG {
    BLUEROV1 = 0,
    VECTORED = 1,
    VECTORED_6DOF = 2,
    VECTORED_6DOF_90 = 3,
    SIMPLEROV_3 = 4,
    SIMPLEROV_4 = 5,
    SIMPLEROV_5 = 6,
    CUSTOM = 7,
}

export enum SERVO_FUNCTION {
    DISABLED = 0,
    RCPASSTHRU = 1,
    FLAP = 2,
    FLAP_AUTO = 3,
    AILERON = 4,
    MOUNT_PAN = 6,
    MOUNT_TILT = 7,
    MOUNT_ROLL = 8,
    MOUNT_OPEN = 9,
    CAMERA_TRIGGER = 10,
    RELEASE = 11,
    MOUNT2_PAN = 12,
    MOUNT2_TILT = 13,
    MOUNT2_ROLL = 14,
    MOUNT2_OPEN = 15,
    DIFFERENTIALSPOILER1 = 16,
    DIFFERENTIALSPOILER2 = 17,
    AILERONWITHINPUT = 18,
    ELEVATOR = 19,
    ELEVATORWITHINPUT = 20,
    RUDDER = 21,
    FLAPERON1 = 24,
    FLAPERON2 = 25,
    GROUNDSTEERING = 26,
    PARACHUTE = 27,
    EPM = 28,
    LANDINGGEAR = 29,
    ENGINERUNENABLE = 30,
    HELIRSC = 31,
    HELITAILRSC = 32,
    MOTOR1 = 33,
    MOTOR2 = 34,
    MOTOR3 = 35,
    MOTOR4 = 36,
    MOTOR5 = 37,
    MOTOR6 = 38,
    MOTOR7 = 39,
    MOTOR8 = 40,
    MOTORTILT = 41,
    RCIN1 = 51,
    RCIN2 = 52,
    RCIN3 = 53,
    RCIN4 = 54,
    RCIN5 = 55,
    RCIN6 = 56,
    RCIN7 = 57,
    RCIN8 = 58,
    RCIN9 = 59,
    RCIN10 = 60,
    RCIN11 = 61,
    RCIN12 = 62,
    RCIN13 = 63,
    RCIN14 = 64,
    RCIN15 = 65,
    RCIN16 = 66,
    IGNITION = 67,
    CHOKE = 68,
    STARTER = 69,
    THROTTLE = 70,
    TRACKERYAW = 71,
    TRACKERPITCH = 72,
    THROTTLELEFT = 73,
    THROTTLERIGHT = 74,
}
